package com.passive.lock.mapper;

import com.passive.lock.model.po.TLock;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository("TLockMapperCustom")
public interface TLockMapperCustom {

	List<TLock> lockList(@Param("groupid") String groupid,@Param("deptid") String deptid, @Param("lockType") String lockType,
			@Param("lockName") String lockName, @Param("lockCode") String lockCode, @Param("offset") Integer offset,
			@Param("limit") Integer limit);

	int lockListCount(@Param("groupid") String groupid, @Param("deptid") String deptid,@Param("lockType") String lockType,
			@Param("lockName") String lockName, @Param("lockCode") String lockCode);

}